onNestedScrollAccepted

open fun onNestedScrollAccepted(@NonNull child: View, @NonNull target: View, axes: Int)(source)

Called when a nested scrolling operation initiated by a descendant view is accepted by this ViewGroup.

This is a delegate method. Call it from your ViewGroup subclass method/androidx.core.view.NestedScrollingParent interface method with the same signature to implement the standard policy.


open fun onNestedScrollAccepted(@NonNull child: View, @NonNull target: View, axes: Int, type: Int)(source)

Called when a nested scrolling operation initiated by a descendant view is accepted by this ViewGroup.

This is a delegate method. Call it from your ViewGroup subclass method/androidx.core.view.NestedScrollingParent2 interface method with the same signature to implement the standard policy.